package com.pm25.response;

import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;

import com.google.gson.reflect.TypeToken;
import com.pm25.response.bean.Co;

public class CoResponse extends AbstractResponse {
	private List<Co> co;
	public CoResponse(String responseBody) {
		super(responseBody);
	}

	@Override
	public void parseResult() {
		Type type = new TypeToken<ArrayList<Co>>() {
		}.getType();
		co = gson.fromJson(responseBody, type);
	}

	public List<Co> getCo() {
		return co;
	}

}
